package com.example.jin.alarmservice;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.support.annotation.Nullable;
import android.widget.Toast;

/**
 * Created by JIN on 2017/9/22.
 */

public class NotifyService extends Service{
    @Nullable
    @Override
    public IBinder onBind(Intent arg0) {
        return null;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        alarmService app = alarmService.getAppRef();
        app.btEvent("Form NotifyService");
        Toast.makeText(this,"这是系统自带的Service",Toast.LENGTH_LONG).show();
    }
}
